<!DOCTYPE unspecified PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<html>
<head></head>
<body>

	<div id="nav-account" class="nav-collapse pull-right">
		<ul class="nav">
			<sec:authorize access="authenticated" var="authenticated" />
			<c:choose>
				<c:when test="${authenticated}">
					<li id="greeting">
						<div>
							Welcome
							<sec:authentication property="name" />
						</div>
					</li>
					<c:url var="logoutUrl" value="/logout" />
					<li><a id="navLogoutLink" href="${logoutUrl}">Logout</a></li>
				</c:when>
			</c:choose>
		</ul>
	</div>
</body>	
</html>

